#ifndef STARE_H
#define STARE_H
#include <QtCore/QDebug>
#include <QWidget>
#include "console.h"
#include <QAbstractItemView>

namespace Ui {
class Stare;
}


class Stare : public QWidget
{
    Q_OBJECT

public:
    explicit Stare(QWidget *parent = 0);
    ~Stare();

    void    pass(int pass);
int decsum;
int Decsum;
    void    fall(int    PASS);
   // void    sn_fun(QString  Sn);
private slots:
    void on_Cleardate_clicked();

    void on_Save_clicked();



private:

    int Password;
    int margin;
    int totalSize;
    int pieSize;
    int validItems;
    double totalValue;

    Ui::Stare *ui;
};

#endif // STARE_H
